package org.jash.sportnews2109

import android.app.Application
import androidx.room.Room
import com.alibaba.android.arouter.launcher.ARouter
import dagger.hilt.android.HiltAndroidApp
import org.jash.sportnews2109.dao.NewsDatabase

@HiltAndroidApp
class App:Application() {
    override fun onCreate() {
        super.onCreate()
        if(BuildConfig.DEBUG) {
            ARouter.openLog()
            ARouter.openDebug()
        }
        ARouter.init(this)

    }
}